package com.cloud.business.dao.sys;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cloud.business.entity.sys.SysRegMapStruct;
import com.cloud.business.model.sys.sysregmapstruct.MapStatisModel;
import com.cloud.business.model.sys.sysregmapstruct.MapStructDropDown;

import java.util.List;

/**
 * 地区架构表 mapper
 * Copyright: Copyright (C) 2020 DLANGEL, Inc. All rights reserved.
 * Company: 大连安琪科技有限公司
 *
 * @author Rex
 * @since 2020-09-14 17:27:49
 */
public interface SysRegMapStructMapper extends BaseMapper<SysRegMapStruct> {

    String getNameById(Integer objectId);

    List<MapStructDropDown> getDropDownList();

    List<MapStructDropDown> getDropDownListByUserId(String cityCode);

    MapStatisModel getAdcodeByUserId(Integer userId);

}
